<?php
declare (strict_types = 1);

namespace app\wap\controller;

use app\admin\model\Banner;
use app\admin\model\goods\Goods;


class Index extends Base
{
    public function index()
    {

        $banner=Banner::lists(1);

        input('search') && $where['name']=input('search');
        $where['store_id']=2;
        $goods_list=Goods::where($where)->select();

        return view('',['banner'=>$banner,'goods_list'=>$goods_list]);
    }
}
